package com.ysd.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ysd.entity.Admin;
import com.ysd.mapper.AdminMapper;
import com.ysd.service.AdminService;

@Service
public class AdminServiceImpl implements AdminService {
	@Autowired
	AdminMapper aMapper;
	@Override
	public Admin login(Admin admin) {
		return aMapper.denglu(admin);
	}

}
